package com.coolweather.android.seven.db;

import org.litepal.crud.DataSupport;

/**
 * Created by seven on 2017/1/11.
 * id是每个实体类中都有的字段，province记录省的名字，provinceCode记录省的代号，
 * 另外LitePal中的每个实体类都是必须要继承自DataSupport类的。
 */

public class Province extends DataSupport {
    private int id;
    private String provinceName;
    private int provinceCode;

    public int getId(){
        return id;
    }

    public void setId(int id){
        this.id=id;
    }

    public String getProvinceName(){
        return provinceName;
    }

    public void setProvinceName(String provinceName){
        this.provinceName=provinceName;
    }

    public int getProvinceCode(){
        return provinceCode;
    }

    public void setProvinceCode(int provinceCode){
        this.provinceCode=provinceCode;
    }
}
